/*
 * Copyright 2005-2013 sxhuayuan.com. All rights reserved.
 */
package com.sxhuayuan.parking.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sxhuayuan.parking.dao.BaseDao;
import com.sxhuayuan.parking.dao.LogDao;
import com.sxhuayuan.parking.entity.Log;
import com.sxhuayuan.parking.service.LogService;

/**
 * Service - 日志
 * 
 * @author gaoyan
 * @version 1.0
 */
@Service("logServiceImpl")
public class LogServiceImpl extends BaseServiceImpl<Log, Long> implements LogService {

	@Autowired
	private LogDao logDao;

	@Override
	public BaseDao<Log, Long> getDAO() {
		return logDao;
	}

	@Override
	public void clear() {
		logDao.deleteAll();
	}

}